package com.delivery.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.delivery.entity.Order;
import com.delivery.form.SearchForm;
import com.delivery.vo.OrderListVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
* @author 13201
* @description 针对表【delivery_order】的数据库操作Mapper
* @createDate 2023-04-26 16:57:53
* @Entity com.delivery.entity.Order
*/
@Repository
public interface OrderMapper extends BaseMapper<Order> {
    Page<OrderListVo> selectOrderByUserId(
            @Param("page") Page<OrderListVo> page,
            @Param("userId") String userId,
            @Param("searchForm") SearchForm searchForm
    );

}
